:root {
	--main-font-color: #111111;
	--main-back-color: #eeeee0;
}


* {
	box-sizing: border-box;
}

[hidden] { display: none; !important }

canvas-layer {
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
}


body {
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--main-font-color);
	background: var(--main-back-color);
}

p {
	margin: 10px;
}

small {
	color: #777777;
}

.win {
	--margin-top: 10vmin;
	display: grid;
	justify-items: center;
	margin-top: var(--margin-top);
	min-height: calc(100vh - var(--margin-top));
}

.youtube-iframe {
	--size: 100vw;
	width: var(100vw);
	height: calc(var(--size) / 1.4);
}

.image-wrapper > img {
	width: 100%;
	height: 100%;
}


.nav {
	z-index: 10;
	display: grid;
	align-items: start;
	grid-gap: 5px;
	grid-template-columns: repeat(4, max-content);
	grid-auto-columns: max-content;
	
	position: fixed;
	top: 0px;
	left: 0px;
	padding: 5px;
	width: 100vw;
	min-height: var(--margin-top);
	background: #aaaaaa;
	box-shadow: 0px 2px 2px #777777;
}

.nav-button {
	grid-row: 1/1;
	
	padding: 2px 10px;
	margin: auto;
	font-size: 5vmin;
	font-family: Arial, Helvetica, sans-serif;
	color: #222222;
	background: #cccccc;
	border: 1px solid #777777;
	border-radius: 7px;
	transition: all linear 200ms;
} .nav-button:hover {
	background: #eeeeee;
	border-color: #444444;
}

.header {
	display: grid;
	align-items: center;
	grid-gap: 10px;
	grid-template-columns: max-content 1fr 1fr;
	padding: 10px;
	width: 100vw;
	background: #cccccc;
}

.contacts {
	justify-self: end;
	color: #111111;
}

.menu {
	--size-w: 40px;
	--size-h: 40px;
	
	padding: 10px;
	width: var(--size-w);
	height: var(--size-h);
	border: 2px solid #333333;
	border-radius: 5px;
	background: #00000030;
}
.menu::after {
	position: relative;
	content: '';
	top: calc(var(--size-h) - 10px);
	border: 1px solid #444444;
	transform: rotate(40deg);
}
.menu::before {
	content: '';
	border: 1px solid #444444;
}

.contact-links {
	display: grid;
	justify-self: start;
	grid-gap: 10px;
	grid-template-columns: repeat(2, 1fr);
}

.contact-links > .icon {
	padding: 5px;
	width: 40px;
	height: 40px;
	border: 2px solid #333333;
	border-radius: 5px;
}

.ribbon-style {
	padding: 10px;
	width: 100vw;
	background: rgba(255, 255, 230, 0.9);
	border: 1px solid #777777;
	border-left: 0px;
	border-right: 0px;
}

.red-title {
	color: #aa2222;
}

.gallery {
	display: grid;
	justify-items: start;
	grid-gap: 10px;
	grid-template-columns: repeat(3, min-content);
	padding: 10px;
	max-width: 100vw;
	overflow-x: scroll;
}

.gallery-item {
	display: grid;
	justify-items: center;
	align-items: end;
	
	border: 1px solid #777777;
	border-radius: 5px;
}
.question-item > .question {
	
}

.question-item > .answer {
	margin-left: 20px;
}


.card-product {
	--margin: 10px;
	--size: 200px;
	--anim-time: 300ms;
	
	--price-color: #444444;
	--price-back: #cccccc;
	
	width: calc(var(--size) + var(--margin) * 2);
	text-align: center;
	background: var(--main-back-color);
	border: 1px solid #aaaaaa;
	border-radius: 5px;
	box-shadow: 2px 2px 2px #aaaaaa;
	transition: all var(--anim-time);
} .card-product:hover {
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 3px #aaaaaa;
}

.card-product > .title {
	color: darkred;
	font-weight: bold;
	font-size: 1.5em;
	padding: 10px;
}

.card-product > .image-wrapper {
	padding: 5px;
	margin: 0px var(--margin);
	height: var(--size);
	border: 1px solid #111111;
	background: #cccccc;
}

.card-product > .description {
	padding: 5px;
	color: #777777;
	font-weight: bold;
}

.card-product > .price {
	padding: 5px;
	font-size: 1.6em;
	font-weight: bold;
	color: var(--price-color);
	background: var(--price-back);
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	transition: all var(--anim-time);
} .card-product:hover {
	--price-color: #eeeeee;
	--price-back: #aa1111;
}
